<div id="header">

	<div id="header-wrapper">
		<div id="header-content">
			
			<div id="header_left">
				<a href="<?php echo $this->baseUrl('employer'); ?>">
					<img id="logo_thamza" src="<?php echo $this->baseUrl('public/images/logo_thamza2.png'); ?>" alt="Thamza logo" width="152" height="46" style="margin-top:27px;"/>
				</a>
				<div class="clear_row" style="margin-bottom:5px;"></div>
				
				<?php echo $this->render('common/mainmenu.phtml'); ?>
			</div><!-- #header_left -->
			
			<div id="header_right">
			
				<div id="login_frame">
				
					<div id="wrapper-login">
					
						<div id="region">
							<img align="right" sytle="margin-right:4px;" src="<?php echo $this->baseUrl('public/images/flag_england.png'); ?>" width="21" height="17" alt="england" />
							<img align="right" style="margin-right:4px;" src="<?php echo $this->baseUrl('public/images/flag_vietnam.png'); ?>" width="21" height="17" alt="flag vietnam" />
						</div>
						<div id="navigation-user"><a href="<?php echo $this->baseUrl();?>"> Employee's site</a></div>
						
						<?php 
							$ntd = new Zend_Session_Namespace ( 'employerntd' );
							$login_link 	= $this->baseUrl('employer/index');
							$signup_link 	= $this->baseUrl('employer/index/register');
							$signout_link 	= $this->baseUrl('employer/index/logout');
							if(!empty($ntd->employerntd)){
								echo '<div class="small_link2">Hello <a href="'.$this->baseUrl('employer/index/updateaccount').'">'.$ntd->employerntd['companyname'].'</a> | <a href="'.$signout_link.'">Sign out</a></div>';
							}
							else{
								echo '<div class="small_link"><a href="'.$login_link.'" id="btn_login">Login</a> | <a href="'.$signup_link .'">Sign up</a></div>';
							}
						?>
					 </div><!--  END #wrapper-login-->
				</div><!-- #login_frame -->
			</div><!-- #header_right -->
		</div><!-- END #header-content -->
	</div><!-- END #header-wrapper -->
</div><!--  END #header -->